#ifndef __LINUX_MEMBLOCK_H__
#define __LINUX_MEMBLOCK_H__

#include "linux/types.h"

void memblock_init(void);
int memblock_add(unsigned long base, size_t size);
int memblock_remove(unsigned long base, size_t size);
int memblock_reserve(unsigned long base, size_t size);
int memblock_free(unsigned long base, size_t size);
void *memblock_alloc(size_t size, size_t align);
void memblock_dump_all(void);
int __next_reserved_mem_region(int idx, phys_addr_t *out_start, phys_addr_t *out_size);

#endif
